package com.weibo4j.api.req.status;

import com.weibo4j.api.annotation.Param;
import com.weibo4j.api.response.status.RepostTimelineResponse;

public class RepostTimelineRequest extends StatusTimelineRequest<RepostTimelineResponse> {

	private Long 	id;
	
	private Integer filterByAuthor;//作者筛选类型，0：全部、1：我关注的人、2：陌生人，默认为0。
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Param("filter_by_author")
	public Integer getFilterByAuthor() {
		return filterByAuthor;
	}

	public void setFilterByAuthor(Integer filterByAuthor) {
		this.filterByAuthor = filterByAuthor;
	}

	@Override
	public String baseUrl() {
		return "https://api.weibo.com/2/statuses/repost_timeline.json";
	}

	@Override
	public Class<RepostTimelineResponse> responseType() {
		return RepostTimelineResponse.class;
	}

}
